FROM openjdk:8
COPY service-1.0-SNAPSHOT.jar my-project-service.jar
RUN bash -c "touch /my-project-service.jar"
EXPOSE 8080
ENTRYPOINT ["java", "-jar", "my-project-service.jar"]